/**
 * @Author lilinjie
 * @Description: 登录API
 */
import http from '@/utils/request'

// 登录
export const login = (data) => http({
  method: 'POST',
  url: `/admin/system/login`,
  data
})

// 退出登录
export const logout = () => http({
  method: 'GET',
  url: '/admin/system/loginOut'
})

// 获取用户信息
export const getUserInfo = () => http({
  method: 'GET',
  url: '/admin/system/getSysUserInfo'
})


